<template>
  <div class="box">
    <div>
      <slot name="left"></slot>
    </div>
    <h2>
            <slot></slot>
    </h2>
    <div>
      <slot name="right"></slot>
    </div>
  </div>
</template>
<script setup>
import { defineComponent } from "vue";

defineComponent({
  name: "title",
});
</script>
<style scoped lang="scss">
.box{
  background: url('@/assets/title.png') no-repeat;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 80px;
  padding-bottom: 10px;

}
</style>
